package com.bana.fvs.protocol;

/**
 * 测试连接协议，只用于心跳
 */
public class QueryControllerStatus {

    public int getId()
    {
        return 0x11;
    }

    public byte[] toBuffer(int kzqbsm)
    {
        byte[] buffer=new byte[4];
        buffer[0]=(byte)0x81;
        buffer[1]=(byte)kzqbsm;
        buffer[2]=(byte)getId();
        buffer[3]=(byte)0xff;
        return buffer;
    }
}
